<?php
class portal extends CI_Controller {
	function __construct() {
		parent::__construct ();
		$this->load->helper ( 'url' );
		$this->load->library ( 'commonclass' );
		session_start();
	}
	function index() {
		$uid = $this->commonclass->Listion_user ();
		if (! $uid) {
			$_lang ["msg"] = "请先登入！";
			$_lang ["waitSecond"] = 5;
			$_lang ["jumpUrl"] = site_url ( 'public/signin/into' );
			$this->load->view ( 'public/v_error', $_lang );
			return;
		}
		$where ["id"] = $uid;
		$lang = $this->m_tbk->getOne ( "user", $where );
		$this->load->view ( "user/v_portal.php", $lang );
	}
}